﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    /// <summary>
    /// 借阅书籍
    /// </summary>
    public interface IBorrowBooksService
    {
        Task<int> AddBorrowBooksAsync(int PostponeApplyRecord,int bookInfoId,int borrowPerson,int borrowState,int borrowStandardId,int PostponeTime);
        Task<int> EditBorrowBooksAsync(int id, int PostponeApplyRecord, int bookInfoId, int borrowPerson, int borrowState, int borrowStandardId, int PostponeTime);
        Task<int> DeleteBorrowBooksAsync(int id);
        Task<List<BorrowBooksDto>> QueryBorrowBooksAllAsync();
        Task<BorrowBooksDto> QueryBorrowBooksByIdAsync(int id);
        //Task<List<JobDto>> GetBorrowBooksByNameAsync(string title);
    }
}
